﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.DateTime?>" %>
<%@ Import Namespace="BoardAppUtil.Formatting" %>

<!-- jQuery style sheets -->
<%--<link href="../../../../Content/CSS/jquery.ui.all.css" rel="stylesheet" type="text/css" />--%>
<link rel="stylesheet" type="text/css" href="<%= Url.Content("~/ContentDownloadApp/CSS/jquery.ui.all.css")%>" />

 <!-- jQuery scripts -->
<%--<script src="../../../Scripts/jquery.min.js" type="text/javascript"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.min.js")%>'></script>
<%--<script src="../../../Scripts/jquery.ui.core.js" type="text/javascript"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.core.js")%>'></script>
<%--<script src="../../../Scripts/jquery.ui.widget.js" type="text/javascript"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.widget.js")%>'></script>
<%--<script src="../../../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.datepicker.js")%>'></script>
<%--<script src="../../../Scripts/common.js" type="text/javascript"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/common.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/toogle.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/toogle.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.tipsy.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.tipsy.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.uniform.min.js"></script>--%> 
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.uniform.min.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.wysiwyg.js"></script> --%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.wysiwyg.js")%>'></script>
<script type="text/javascript" src="../../../Scripts/jquery.tablesorter.min.js"></script>    
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.tablesorter.min.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/fullcalendar.min.js"></script> --%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/fullcalendar.min.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.core.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.core.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.mouse.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.mouse.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.widget.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.widget.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.slider.js"></script>--%> 
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.slider.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.datepicker.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.datepicker.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.tabs.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.tabs.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.ui.accordion.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.ui.accordion.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery.dataTables.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery.dataTables.js")%>'></script>
<%--<script type="text/javascript" src="../../../Scripts/jquery-ui-timepicker-addon.js"></script>--%>
<script type="text/javascript" src='<%= Url.Content("~/Scripts/jquery-ui-timepicker-addon.js")%>'></script>

<%--<%: Html.TextBox("", String.Format("{0:MM-dd-yyyy}", Model.HasValue ? Model : DateTime.Now), new { @class = "datepicker-input  tips-right txtsmall", @id = "datepicker",
                    @readonly = "readonly" })%>--%>

    <%: Html.TextBox("", Formatter.GetDateOnlyFormat(Model.HasValue ? Model : DateTime.Now), new
    {
    @class = "datepicker-input  tips-right txtsmall",
    @id = "datepicker",
    @readonly = "readonly" })%>
